package com.example.design.responsibilityChainDemo;

public class PayChain extends Responsibility {
    @Override
    public void deal() {
        System.out.println("pay");
        nextService();
    }
}
